package Interface.lianxi01;

interface  A{
    void moA();
    int a =10;
}
class B implements  A{

    @Override
    public void moA() {

    }
}
public class TestInterface {
    public static void main(String[] args) {
        A a  =new B();
        a.moA();
        System.out.println(A.a);
    }
}
